package com.dhecp.project.logstics.mapper;

import com.dhecp.core.genericDao.GenericDao;
import com.dhecp.project.business.domain.FbaLogsticsOrder;
import com.dhecp.project.business.domain.FbaLogsticsOrderBox;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * DAO
 * @author fxz
 */
public interface FbaLogsticsOrderBoxMapper extends GenericDao<FbaLogsticsOrderBox, String>  {

    /**
     * 查询实体
     * @author Jason
     */
    List<FbaLogsticsOrderBox> findFbaLogsticsOrderBox(Map<String, Object> params);


    List<FbaLogsticsOrderBox> detailGuidList(Map<String, Object> params);

    List<FbaLogsticsOrderBox> findFbaLogsticsOrderBoxBatch(List<FbaLogsticsOrder> fbaLogsticsOrderList);

    //    通过list集合实现批量删除
    void deleteByCodes(@Param("codes") List<String> codes);

}
